package br.edu.ifrn.beans;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class Egresso extends Pessoa{
	private File curriculo;
	
	public File getCurriculo() {
		return curriculo;
	}
	public void setCurriculo(File curriculo) {
		this.curriculo = curriculo;
	}
	public String getMatricula(){
		return this.getId();
	}
	public void setMatricula(String matricula){
		this.setId(matricula);
	}
	
	public BufferedInputStream pegarCurriculo(){
		FileInputStream fin;
		BufferedInputStream in = null;
		try {
			fin = new FileInputStream(curriculo);
			in = new BufferedInputStream(fin);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		}
		return in;
		
	}
	
	
	
}
